package net.qiqbframework.spring.config;

import net.qiqbframework.config.Configuration;
import net.qiqbframework.modelling.repository.Repository;

public abstract class BeanHelper {


    public static <T> Repository<T> repository(Class<T> aggregateType, Configuration configuration) {
        return configuration.repository(aggregateType);
    }

    private BeanHelper() {
        // Utility class
    }
}
